package com.authine.cloudpivot.common.extension.client;

import com.alibaba.cola.dto.SingleResponse;
import com.authine.cloudpivot.common.extension.client.dto.AuthenticationDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 单点登录服务扩展点默认扩展API
 * <p>
 * 请勿修改任何内容
 */
@FeignClient(name = "app-commonserviceextension", path = "/authorization/v1")
public interface UserAuthorizationExtensionFeignServiceI {

    @PostMapping("/get_source_id")
    SingleResponse<String> getSourceId(@RequestBody AuthenticationDTO authorization);

}
